package android.view;
import android.graphics.Canvas;

public interface SurfaceHolder {

    public interface Callback {
        void surfaceCreated(SurfaceHolder var1);

        void surfaceChanged(SurfaceHolder var1, int var2, int var3, int var4);

        void surfaceDestroyed(SurfaceHolder var1);
    }

    void addCallback(Callback var1);

    Canvas lockCanvas();
    void unlockCanvasAndPost(Canvas var1);

}